MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 62
Dependencies 28
Dependents 3
Total lines 383
Lines of code 251
Logical lines of code 172
Comment lines 35
Methods 11
Properties 15

Methods 11

Method Rating Maintainability Complexity Lines of code
save()
A
46 11 37
updateNewsletter()
A
50 10 29
updateSegments()
A
50 9 30
duplicate()
S
45 6 42
updateQueue()
S
54 6 21
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
__construct()
S
57 1 17
sanitizeAutomationEmailData()
S
69 2 7